from django.conf.urls import url
from django.urls import path
from apps.Index.views import register, login, loginout, main, changepassword, readfile

app_name = 'Index'

urlpatterns = [
    url(r'^$', login.as_view(), name="login"),
    url(r'^login$', login.as_view(), name="login"),
    url(r'^loginout$', loginout.as_view(), name="loginout"),
    url(r'^changepassword$', changepassword.as_view(), name='changepassword'),
    url(r'^main$', main.as_view(), name='main'),
    url(r'^register$', register.as_view(), name='register'),
    url(r'^readfile$', readfile.as_view(), name='readfile')
]
